package com.myj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author Java_myj
 * @since 2022-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="User对象", description="用户表")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    @TableId(value = "u_id", type = IdType.AUTO)
    private Integer uId;

    @ApiModelProperty(value = "用户头像")
    private String uImg;

    @ApiModelProperty(value = "用户名")
    private String uUname;

    @ApiModelProperty(value = "用户密码")
    private String uPword;

    @ApiModelProperty(value = "用户性别;0为男性1为女性")
    private Integer uUgender;

    @ApiModelProperty(value = "用户出生日期")
    private LocalDateTime uBirth;

    @ApiModelProperty(value = "用户个人认证;0为未认证1为认证")
    private Integer uPrenzheng;

    @ApiModelProperty(value = "用户学生认证;0为未认证1为认证")
    private Integer uSrenzheng;

    @ApiModelProperty(value = "用户手机号")
    private String uTel;

    @ApiModelProperty(value = "用户邮箱")
    private String uUmail;


}
